package com.kingdee.eas.ec.garden.settle.app;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.ec.basedata.BaseBillEntryCollection;
import com.kingdee.eas.ec.contract.biz.ContractSettleEntryCollection;
import com.kingdee.eas.ec.basedata.ResourceEntryCollection;
import com.kingdee.eas.framework.CoreBillEntryBaseCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.framework.BillEntryBaseCollection;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.eas.ec.basedata.CbsEntryCollection;
import com.kingdee.eas.ec.garden.settle.GaSubSettleBillEntryCollection;
import com.kingdee.eas.ec.contract.biz.app.ContractSettleEntryControllerBean;
import com.kingdee.eas.ec.garden.settle.GaSubSettleBillEntryInfo;



public abstract class AbstractGaSubSettleBillEntryControllerBean extends ContractSettleEntryControllerBean implements GaSubSettleBillEntryController
{
    protected AbstractGaSubSettleBillEntryControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("A09E46BC");
    }

    public GaSubSettleBillEntryCollection getGaSubSettleBillEntryCollection(Context ctx) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("9008c062-3be2-45eb-8ef4-62023761c8c9"), new Object[]{ctx});
            invokeServiceBefore(svcCtx);
            GaSubSettleBillEntryCollection retValue = (GaSubSettleBillEntryCollection)_getCollection(ctx, svcCtx);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
    {
        return super._getCollection(ctx, svcCtx);
    }

    public GaSubSettleBillEntryCollection getGaSubSettleBillEntryCollection(Context ctx, EntityViewInfo view) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("d4b78ea2-5369-49ff-9d92-7ff050438d98"), new Object[]{ctx, view});
            invokeServiceBefore(svcCtx);
            GaSubSettleBillEntryCollection retValue = (GaSubSettleBillEntryCollection)_getCollection(ctx, svcCtx, view);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, view);
    }

    public GaSubSettleBillEntryCollection getGaSubSettleBillEntryCollection(Context ctx, String oql) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("e0f1f871-ad13-4891-9d98-7e0c826154a5"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaSubSettleBillEntryCollection retValue = (GaSubSettleBillEntryCollection)_getCollection(ctx, svcCtx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, oql);
    }

    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaSubSettleBillEntryCollection(ctx).cast(ContractSettleEntryCollection.class));
    }
    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaSubSettleBillEntryCollection(ctx, view).cast(ContractSettleEntryCollection.class));
    }
    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaSubSettleBillEntryCollection(ctx, oql).cast(ContractSettleEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaSubSettleBillEntryCollection(ctx).cast(ResourceEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaSubSettleBillEntryCollection(ctx, view).cast(ResourceEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaSubSettleBillEntryCollection(ctx, oql).cast(ResourceEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx) throws BOSException
    {
    	return (CbsEntryCollection)(getGaSubSettleBillEntryCollection(ctx).cast(CbsEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CbsEntryCollection)(getGaSubSettleBillEntryCollection(ctx, view).cast(CbsEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (CbsEntryCollection)(getGaSubSettleBillEntryCollection(ctx, oql).cast(CbsEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaSubSettleBillEntryCollection(ctx).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaSubSettleBillEntryCollection(ctx, view).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaSubSettleBillEntryCollection(ctx, oql).cast(BaseBillEntryCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaSubSettleBillEntryCollection(ctx).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaSubSettleBillEntryCollection(ctx, view).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaSubSettleBillEntryCollection(ctx, oql).cast(BillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaSubSettleBillEntryCollection(ctx).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaSubSettleBillEntryCollection(ctx, view).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaSubSettleBillEntryCollection(ctx, oql).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBaseCollection)(getGaSubSettleBillEntryCollection(ctx).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBaseCollection)(getGaSubSettleBillEntryCollection(ctx, view).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBaseCollection)(getGaSubSettleBillEntryCollection(ctx, oql).cast(CoreBaseCollection.class));
    }
}